package com.ruoyi.sj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 接收红包（金包）表 sj_red_receive
 * 
 * @author tyc@yanyu.com
 * @date 2018-12-28
 */
public class RedReceive extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 红包id */
	private Integer id;
	/** 接收人 */
	private String receiver;
	/** 接收时间 */
	private String recDate;
	/** 接收金额 */
	private String recMoney;
	/** 类型   1、红包    2、金包 */
	private Integer type;
	/** 状态   1、未使用        2、已使用 */
	private Integer status;

	/**红包id*/
	private Long redId;

	private String sendAvatar;
	private String sendNickname;
	private String recAvatar;
	private String recNickname;
	/** 红包个数 */
	private Integer num;
	/** 红包金额 */
	private String money;

	private String note;
	private String senderId;
	private String sendDate;

	public String getSendDate() {
		return sendDate;
	}

	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}

	public String getSenderId() {
		return senderId;
	}

	public void setSenderId(String senderId) {
		this.senderId = senderId;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getSendAvatar() {
		return sendAvatar;
	}

	public void setSendAvatar(String sendAvatar) {
		this.sendAvatar = sendAvatar;
	}

	public String getSendNickname() {
		return sendNickname;
	}

	public void setSendNickname(String sendNickname) {
		this.sendNickname = sendNickname;
	}

	public String getRecAvatar() {
		return recAvatar;
	}

	public void setRecAvatar(String recAvatar) {
		this.recAvatar = recAvatar;
	}

	public String getRecNickname() {
		return recNickname;
	}

	public void setRecNickname(String recNickname) {
		this.recNickname = recNickname;
	}

	public Long getRedId() {
		return redId;
	}

	public void setRedId(Long redId) {
		this.redId = redId;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setReceiver(String receiver) 
	{
		this.receiver = receiver;
	}

	public String getReceiver() 
	{
		return receiver;
	}
	public void setRecDate(String recDate) 
	{
		this.recDate = recDate;
	}

	public String getRecDate() 
	{
		return recDate;
	}
	public void setRecMoney(String recMoney)
	{
		this.recMoney = recMoney;
	}

	public String getRecMoney()
	{
		return recMoney;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("receiver", getReceiver())
            .append("recDate", getRecDate())
            .append("recMoney", getRecMoney())
            .append("type", getType())
            .append("status", getStatus())
            .toString();
    }
}
